// import styled from "styled-components"
import styled from "styled-px2rem/lib/index"

export const ItemContainer=styled.div`
    width: 170px;
    line-height: 1.5;
    padding: 5px;
    img{
        width: 100%;
        border-radius: 12px;
    }
    & .lable{
        color: #999;
        font-size: 14px;
    }
    & .price{
        color: red;
        font-size: 20px;
        font-weight: bolder;
        & span {
            font-size: 14px;
        }
        & del{
            font-size: 16px;
            font-weight: normal;
            padding-left: 5px;
            color:#999;
        }
    }
    & .discount{
        /* display: inline-block; */
        width: fit-content;
        padding-right: 10px;
        font-size: 12px;
        color:red;
        background: rgba(248, 159, 159, 0.3);
        border-radius: 10px;
        & span{
        display: inline-block;
        background: red;
        color: white;
        padding: 0 6px;
        border-radius: 10px;
        margin-right: 8px;
        }
    }

`